package day03.ext;

import java.util.Scanner;

public class SwitchCaseDemo {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.print("输入命令:");
        String command = scanner.nextLine();
        switch (command){
            case "吃饭":
                System.out.println("回家吃去吧!");
                break;
            case "睡觉":
                System.out.println("洗洗睡吧!");
                break;
        }
        System.out.println("OK");
    }
}
